package com.controll;

import org.springframework.web.bind.annotation.RequestMapping;

@org.springframework.stereotype.Controller
public class Controller {
	
	@RequestMapping("/hello.do")
	public String demo(){
		System.out.println("123");
		return "redirect:hello.jsp";
	}
	
	@RequestMapping("/demo.do")
	public String demo1(){
		
		return "redirect:hello.jsp";
	}
	
}
